﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Admin/Views/Shared/MainContent.Master" Inherits="System.Web.Mvc.ViewPage<MShop.Core.Domain.ShopUsersAddress>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Index
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
 <div id="fullBox">
        <div id="formOutBox">
            <div id="formTitle">
                <div class="formTitleCard_c">
                    创建地址</div>
                <div class="formTitlRight">
                    <img src="/Content/back.png" width="16" height="16" border="0" align="middle" style="margin-right: 3px;" />
                    <%: Html.ActionLink("返回", "Index", new { userid = Request.Params["userid"] })%>
                </div>
            </div>
            <div id="formBox">
                <% Html.EnableClientValidation(); %>
                <% using (Html.BeginForm())
                   {%>
                <%: Html.ValidationSummary(true) %>
                <table width="100%" border="0" cellspacing="0" cellpadding="3" class="formTable">
                    <tr>
                        <td width="80">
                            <%: Html.LabelFor(model => model.AreaId) %>
                        </td>
                        <td>
                            <%: Html.Partial("areacontrol", ViewData["area"] as MShop.Web.Models.SelectedAreaGroupModel)%>
                            <%: Html.ValidationMessageFor(model => model.AreaId)%>
                        </td>
                        <td width="5px;">
                        </td>
                    </tr>
                    <tr>
                        <td width="80">
                            <%: Html.LabelFor(model => model.Location)%>
                        </td>
                        <td>
                             <%: Html.EditorFor(model => model.Location)%>
                            <%: Html.ValidationMessageFor(model => model.Location)%>
                        </td>
                        <td width="5px;">
                        </td>
                    </tr>
                    <tr >
                        <td width="80">
                            <%: Html.LabelFor(model => model.Postcode)%>
                        </td>
                        <td>
                            <%: Html.EditorFor(model => model.Postcode)%>
                            <%: Html.ValidationMessageFor(model => model.Postcode)%>
                        </td>
                        <td width="5px;">
                        </td>
                    </tr>                    
                     <tr >
                        <td width="80">
                            <%: Html.LabelFor(model => model.ReceiverName)%>
                        </td>
                        <td>
                            <%: Html.EditorFor(model => model.ReceiverName)%>
                            <%: Html.ValidationMessageFor(model => model.ReceiverName)%>
                        </td>
                        <td width="5px;">
                        </td>
                    </tr>                
                      <tr >
                        <td width="80">
                            <%: Html.LabelFor(model => model.Mobile)%>
                        </td>
                        <td>
                            <%: Html.EditorFor(model => model.Mobile)%>
                            <%: Html.ValidationMessageFor(model => model.Mobile)%>
                        </td>
                        <td width="5px;">
                        </td>
                    </tr>                
                      <tr >
                        <td width="80">
                            <%: Html.LabelFor(model => model.Tel)%>
                        </td>
                        <td>
                            <%: Html.EditorFor(model => model.Tel)%>
                            <%: Html.ValidationMessageFor(model => model.Tel)%>
                        </td>
                        <td width="5px;">
                        </td>
                    </tr> 
                    
                      <tr >
                        <td width="80">
                            <%: Html.LabelFor(model => model.IsDefault)%>
                        </td>
                        <td>
                            <%: Html.EditorFor(model => model.IsDefault)%>
                            <%: Html.ValidationMessageFor(model => model.IsDefault)%>
                        </td>
                        <td width="5px;">
                        </td>
                    </tr>        
                                   
                      <tr >
                        <td width="80">
                            <%: Html.LabelFor(model => model.Memo)%>
                        </td>
                        <td>
                            <%: Html.EditorFor(model => model.Memo)%>
                            <%: Html.ValidationMessageFor(model => model.Memo)%>
                        </td>
                        <td width="5px;">
                        </td>
                    </tr>                
                    <tr>
                        <td colspan="3" align="center">
                            <input type="submit" value="创建" class="btn" />
                        </td>
                    </tr>
                </table>
                <% } %>
            </div>
        </div>
    </div>


     
            
        

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="cphMeta" runat="server">
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="cphFooter" runat="server">
</asp:Content>

